package com.base.core.task.annotation;

import com.base.core.task.autoconfigure.JobParserAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;


/**
 * 这种属于模块方式的装配
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
//引用配置类，启用配置
@Import(JobParserAutoConfiguration.class)
public @interface EnableElasticJob {
}
